
<?php
/**
 * The template for displaying Search Results pages.
 *
 * @package zerif
 */
 
get_header(); ?>
<div class="clear"></div>
</header> <!-- / END HOME SECTION  -->

<div id="content" class="site-content">
<div class="container">

<div class="content-left-wrap col-md-9">

	<div id="primary" class="content-area">
		<main id="main" class="site-main" role="main">

		<?php if ( have_posts() ) : ?>

			<header class="page-header">
				<h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'zerif-lite' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
			</header><!-- .page-header -->

			<?php /* Start the Loop */ ?>
			<?php while ( have_posts() ) : the_post(); ?>

				<?php get_template_part( 'content', get_post_format() ); ?>

			<?php endwhile; ?>

			<?php zerif_paging_nav(); ?>

		<?php else : ?>

			<?php get_template_part( 'content', 'none' ); ?>

		<?php endif; ?>

		</main><!-- #main -->
	</div><!-- #primary -->

</div><!-- .content-left-wrap -->

<div class="sidebar-wrap col-md-3">
	<?php get_sidebar(); ?>
</div><!-- .sidebar-wrap -->

</div><!-- .container -->

<?php get_footer(); ?>